package com.yunji.storage.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yunji.common.annotation.Excel;
import com.yunji.common.base.BaseDelFlagDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.storage.domain
 * @Title: AllocateInfo
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-08-20 14:58:32      V1.0        HuaAo       新建类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("v3_allocate_info")
public class AllocateInfoDO extends BaseDelFlagDO implements Serializable {

    private static final long serialVersionUID = -6716194190643798890L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("详情ID")
    @Excel(name = "详情ID", width = 15)
    private Long infoId;

    @ApiModelProperty("所属ID")
    @Excel(name = "所属ID", width = 15)
    private Long belongId;

    @ApiModelProperty("调拨单据ID")
    @Excel(name = "调拨单据ID", width = 15)
    private Long allocateId;

    @ApiModelProperty("调拨单据单号")
    @Excel(name = "调拨单据单号", width = 15)
    private String allocateCode;

    @ApiModelProperty("商品ID")
    @Excel(name = "商品ID", width = 15)
    private Long productId;

    @ApiModelProperty("商品sku")
    @Excel(name = "商品sku", width = 15)
    private String productSku;

    @ApiModelProperty("商品名称")
    @Excel(name = "商品名称", width = 15)
    private String productName;

    @ApiModelProperty("调拨数量")
    @Excel(name = "调拨数量", width = 15)
    private BigDecimal allocateAmount;

    @ApiModelProperty("商品单位ID")
    @Excel(name = "商品单位ID", width = 15)
    private Long unitId;

    @ApiModelProperty("商品单位名称")
    @Excel(name = "商品单位名称", width = 15)
    private String unitName;

    @ApiModelProperty("备注信息")
    @Excel(name = "备注信息", width = 15)
    private String remarks;
}